<div class="layui-row" list_url="<{:url('user/lists')}>">
    <span class="fl">
        <a class="layui-btn btn-default" onclick="window.location.href=window.location.href;"><i class="layui-icon">ဂ</i></a>
    </span>
    <span class="fr">
		日期范围：
        <div class="layui-input-inline">
		<input type="text" id="min_time" name="min_time" placeholder="最小时间" class="layui-input">
        </div>
		-
        <div class="layui-input-inline">
		<input type="text" id="max_time" name="max_time" placeholder="最大时间" class="layui-input">
        </div>
        <div class="layui-input-inline">
		<select onchange="com_quicktime(this)" style="width:90px">
			<option value="0">快捷时间</option>
			<option value="1">最近1天</option>
			<option value="2">最近2天</option>
			<option value="3">最近3天</option>
			<option value="4">最近4天</option>
			<option value="5">最近5天</option>
			<option value="6">最近6天</option>
			<option value="7">最近7天</option>
			<option value="8">最近8天</option>
			<option value="9">最近9天</option>
			<option value="10">最近10天</option>
			<option value="20">最近20天</option>
			<option value="30">最近30天</option>
			<option value="60">最近60天</option>
			<option value="90">最近90天</option>
			<option value="365">最近365天</option>
		</select>
        </div>

        <select name="search_type" class="form-control" style="width:80px; display: inline">
              <option value="100all">搜索类型</option>
              <option value="user_no">编号</option>
              <option value="name">姓名</option>
              <option value="phone">手机号</option>
              <option value="idcard">身份证</option>
        </select>

        <div class="layui-input-inline">
            <input type="text" name="keyword" autocomplete="off" placeholder="请输入关键词" class="layui-input">
        </div>

        <select name="level" class="form-control" style="width:80px; display: inline">
              <{volist name="level" id="v"}>
                  <option value="<{$key}>">
                  <{$v}>
                  </option>
              <{/volist}>
        </select>

        <select name="status" class="form-control" style="width:80px; display: inline">
              <{volist name="status" id="v"}>
                  <option value="<{$key}>">
                  <{$v}>
                  </option>
              <{/volist}>
        </select>

        <select name="is_activate" class="form-control" style="width:80px; display: inline">
              <{volist name="is_activate" id="v"}>
                  <option value="<{$key}>">
                  <{$v}>
                  </option>
              <{/volist}>
        </select>
        <select name="is_businessman" class="form-control" style="width:80px; display: inline">
              <{volist name="is_businessman" id="v"}>
                  <option value="<{$key}>">
                  <{$v}>
                  </option>
              <{/volist}>
        </select>

        <select name="px_type" class="form-control" style="width:80px; display: inline">
              <{volist name="px_type" id="v"}>
                  <option value="<{$key}>">
                  <{$v}>
                  </option>
              <{/volist}>
        </select>

        <button class="layui-btn mgl-20" search_id="list">查询</button>
        <button class="layui-btn mgl-20 layui-btn-primary" onclick="search('list',1,1)">下载excle</button>
    </span>
</div>
<div>
  <table class="layui-table">
    <thead>
      <tr>
		<th width="25">ID</th>
        <th>编号</th>
        <th>姓名</th>
        <th>手机号</th>
        <th>级别</th>
        <th>是否激活</th>
        <th>居间商</th>
        <th>报单金额</th>
        <th>回馈积分</th>
        <th>注册积分</th>
        <th>冻结积分</th>
        <th>重消积分</th>
        <th>复投积分</th>
        <th>增值积分</th>
        <th>状态</th>
        <th>推荐数</th>
        <th>时间</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody list_body>
    </tbody>
  </table>
  <div list_page>
  </div>
  <p list_count>
  </p>
</div>
<script>
$(document).ready(function(){
    $("[search_id='list']").click();
});
</script>
